package com.lebang.medicalInquiry.model.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * tb_order
 * @author 
 */
@Data
@ApiModel("用户支付订单记录")
public class Order implements Serializable {
    /**
     * id
     */
    @ApiModelProperty("id")
    private Integer id;

    /**
     * create_time
     */
    @ApiModelProperty("create_time")
    private LocalDateTime createTime;

    /**
     * update_time
     */
    @ApiModelProperty("update_time")
    private LocalDateTime updateTime;

    /**
     * (充值 recharge,退款 refund)
     */
    @ApiModelProperty("(充值 recharge,退款 refund)")
    private String operation;

    /**
     * 平台订单id
     */
    @ApiModelProperty("平台订单id")
    private String platOrderId;

    /**
     * 订单id
     */
    @ApiModelProperty("订单id")
    private String orderId;

    /**
     * 0 未成功
     */
    @ApiModelProperty("0 未成功")
    private Integer state;

    /**
     * 支付用户
     */
    @ApiModelProperty("支付用户")
    private String uuid;

    /**
     * 机构用户
     */
    @ApiModelProperty("机构用户")
    private String organizationOperationUuid;

    /**
     * 问诊进度状态
     */
    @ApiModelProperty("问诊进度状态")
    private String scheduleState;

    /**
     * 问诊单id
     */
    @ApiModelProperty("问诊单id")
    private Integer consultationSheetId;

    /**
     * 支付渠道
     */
    @ApiModelProperty("支付渠道")
    private String payChannel;

    /**
     * 商品名称
     */
    @ApiModelProperty("商品名称")
    private String name;

    /**
     * 金额
     */
    @ApiModelProperty("金额")
    private BigDecimal money;

    /**
     * 描述详情
     */
    @ApiModelProperty("描述详情")
    private String des;

    /**
     * pay,refund
     */
    @ApiModelProperty("pay,refund")
    private String payType;

    private static final long serialVersionUID = 1L;
}